package com.woniu.humanresource.service.impl;

import com.woniu.humanresource.dao.ActivityDao;
import com.woniu.humanresource.entity.Activity;
import com.woniu.humanresource.service.ActivityService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class ActivityServiceImpl implements ActivityService {
    @Resource
    ActivityDao activityDao;
    @Override
    public List<Activity> selectActivity(int id) {
        List<Activity> activities = activityDao.selectActivity(id);
        return activities;
    }
}
